Overloading

Section: Misc. Reference Manual Pages (Caret)
Index Return to Main Contents

 6 "IRIT Version 6.0"   

NAME

Overloading Caret

The ^ operator is overloaded above the following domains:


  NumericType ^ NumericType -> NumericType
  VectorType  ^ VectorType  -> VectorType  (Cross product)
  MatrixType  ^ NumericType -> MatrixType  (Matrix to the (int) power)
  PolygonType ^ PolygonType -> PolygonType (Boolean MERGE operation)
  StringType  ^ StringType  -> StringType  (String concat)
  StringType  ^ RealType    -> StringType  (String concat, real as real string)

Note: Boolean MERGE simply merges the two sets of polygons without any intersection tests. Matrix powers must be positive integers or -1, in which case the matrix inverse (if it exists) is computed.


 

Index

NAME

This document was created by man2html, using the manual pages.
Time: 07:27:19 GMT, October 17, 2022